package cn.xpg.service;

import java.util.List;

import cn.xpg.entity.CustomerType;

public interface CustomerTypeService {

	// 新增顾客类型
	public int addCustomerType(CustomerType customerType);

	// 删除顾客类型
	public int deleteCustomerType(int customertype_id);

	// 查询顾客类型
	public List<CustomerType> getCustomerTypeList(String customertype_name, int currentPageNo, int pageSize);

	// 查询顾客类型行数
	public int getCustomerTypeCount(String customertype_name);

	// 获取顾客类型Id
	public CustomerType getCustomerTypeId(int customertype_id);

	// 新增顾客类型
	public int updateCustomerType(CustomerType customerType);
}
